package cn.tgq.annotation.e_basepackageclass.config;

import cn.tgq.annotation.e_basepackageclass.bean.DemoService;
import cn.tgq.annotation.e_basepackageclass.component.DemoComponent;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * 验证 @Component 注解传入类可以扫描该类所在包及其子包的 bean
 */
@Configuration
@ComponentScan(basePackageClasses = {DemoService.class, DemoComponent.class})
public class BasePackageClassConfiguration {
}
